<template>
  <div>
    <button @click="isShow=true">About</button>
    <Model :isShow.sync="isShow" :title="title">
      <template slot="content">
        <p>我是about内容</p>
      </template>
      <template slot="btn">
        <button @click="isShow=false">确定-About</button>
        <button @click="isShow=false">取消-About</button>
      </template>
    </Model>
  </div>
</template>

<script>
import Model from "../components/Model";
export default {
  data() {
    return {
      isShow: false,
      title: "About标题",
    };
  },
  components: {
    Model,
  },
};
</script>

<style scoped>
</style>
